Skip to main content

revMoveToFirstRecord

Type

command

Summary

Moves to the first record of a record set.

Syntax

revMoveToFirstRecord <recordSetID>

Description

Use the revMoveToFirstRecord command to move around within the selected set of records.

note

Not all databases support the revMoveToFirstRecord command. Currently the revMoveToFirstRecord command is not supported by Oracle databases and certain ODBC data sources.

Important

The revMoveToFirstRecord command is part of the Database library. To ensure that the command works in a standalone application, you must include this custom library when you create your standalone. In the Inclusions pane of the Standalone Application Settings window, make sure both the "Database" library checkbox and those of the database drivers you are using are checked.

Parameters

NameTypeDescription

recordSetID

The number returned by the revQueryDatabase function when the record set was created.

Examples

revMoveToFirstRecord savedResults

function: revdb_movefirst, revdb_moveprev, revdb_movelast, revDatabaseColumnNumbered, revdb_movenext

glossary: Standalone Application Settings, record, command, record set, standalone application, database, LiveCode custom library

library: Database library

command: revMoveToNextRecord

control structure: function

Compatibility and Support

Introduced

LiveCode 2.0

OS

mac

windows

linux

ios

android

Platforms

desktop

server

mobile

Thank you for your feedback!

Was this page helpful?